package org.dromara.system.domain.vo;

import org.dromara.system.domain.EmailAccount;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 邮箱账号视图对象 email_account
 *
 * @author Gavino
 * @date 2024-11-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EmailAccount.class)
public class EmailAccountVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 邮箱账号
     */
    @ExcelProperty(value = "邮箱账号")
    private String account;

    /**
     * 邮箱密码
     */
    @ExcelProperty(value = "邮箱密码")
    private String password;

    /**
     * 服务器协议
     */
    @ExcelProperty(value = "服务器协议")
    private String agreement;

    /**
     * 服务器地址
     */
    @ExcelProperty(value = "服务器地址")
    private String server;

    /**
     * 端口
     */
    @ExcelProperty(value = "端口")
    private String port;

    /**
     * 账号状态
     */
    @ExcelProperty(value = "账号状态")
    private Integer status;

    /**
     * 账号类型
     */
    private Integer type;

    /**
     * 是否启用ssl
     */
    @ExcelProperty(value = "是否启用ssl")
    private Integer enableSsl;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否删除
     */
    private Integer isDelete;

    /**
     * 创建人ID
     */
    private Long createId;

    /**
     * 创建者
     */
    private String createName;

    /**
     * 更新人ID
     */
    private Long updateId;

    /**
     * 更新者
     */
    private String updateName;


}
